﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PortraitUploadNotice.aspx.cs"
    Inherits="RN.ERP.Web.UploadImages.PortraitUploadNotice" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="../Styles/skins/blue/css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #divImages
        {
            padding-left: 20px;
        }
        .corpImages img
        {
            margin-right: 25px;
            border: 1px solid #eaeaea;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
        <div>
            <div class="xian">
                <div class="about_title">上传照片扫描件</div>
            </div>
        </div>

        <div id="tempContainer"></div>

        <div style="margin: 20px auto;text-align: center;display: block;">
            <span onclick="ShowUpload()" class="yello_button" runat="server">上传照片扫描件</span>
        </div>
        
        <input type="hidden" runat="server" clientidmode="Static" id="hidSysCode" value="EFNoWater" />
        <input type="hidden" runat="server" clientidmode="Static" id="hidFuncCode" value="Person" />

        
    </div>
    </form>

    <script type="text/javascript" src="../Scripts/jquery.min.js"></script>
    <script type="text/javascript" language="javascript">
        function ShowUpload() {
            parent.$.ligerDialog.close(); ////关闭dialog
            parent.$(".l-dialog,.l-window-mask").hide(); ////去除父窗体遮罩层
            parent.ShowUpForm("../Person/PersonUploadFile.aspx?AspectRatio=1.45&sysCode=EFNoWater&funcCode=Person&filename=<%=FileName %>", 510, 515);
        }

        ///根据系统编号和功能编号获取HTML
        (function HtmlRender() {
            var sysCode = $('#hidSysCode').val();
            var funcCode = $('#hidFuncCode').val();
            var url = "../LoadFiles/" + sysCode + "/" + funcCode + ".htm";

            $.ajax({
                url: url,
                type: "GET",
                cache: true,
                data: {},
                dataType: "html"
            }).done(function (htm) {
                $("#tempContainer").html(htm);
            })
        })()
    </script>
</body>
</html>
